OTP\Addons\PasswordReset\Handler\UMPasswordResetHandler A

Total Complexity 60
Dependencies 13
Dependents 1
Total lines 481
Lines of code 259
Logical lines of code 134
Comment lines 173
Methods 24
Properties 2

Methods 24

Method Rating Maintainability Complexity Lines of code
um_reset_password_errors_hook()
S
52 7 25
check_reset_password_limit()
S
53 5 23
sendAjaxOTPRequest()
S
48 4 36
__construct()
S
54 4 20
getUser()
S
61 4 12
miniorange_register_um_script()
S
53 3 22
handle_form_options()
S
57 3 16
get_phone_number_selector()
S
69 3 6
handle_form()
S
62 2 11
startOtpTransaction()
S
67 2 7
isUltimateMemberV2Installed()
S
70 2 6
getUmOptions()
S
68 2 8
getUmUserObj()
S
68 2 8
getUmpwd_obj()
S
68 2 8
getum_formObj()
S
68 2 8
getUserFromPhoneNumber()
S
70 2 5
getUserId()
S
75 2 4
checkIntegrity()
S
70 2 6
checkIntegrityAndValidateOTP()
S
65 2 8
unset_otp_session_variables()
S
80 1 3
handle_post_verification()
S
79 1 3
handle_failed_verification()
S
79 1 3
um_reset_password_process_hook()
S
65 1 9
getIsOnlyPhoneReset()
S
86 1 2